//
//  SWFile.h
//  CatVideos
//
//  Created by Saman Kumara on 9/7/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface SWFile : NSObject
@property(nonatomic,retain)NSString *path, *key, *fileName;
@property(nonatomic, retain) NSData *data;
+ (SWFile *) withKey:(NSString *)key Path:(NSString *)path fileName:(NSString *)fileName;
+ (SWFile *) withKey:(NSString *)key data:(NSData *)data fileName:(NSString *)fileName;

-(NSMutableData *)getData;
@end
